<template>
  <div class="tabb">
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/home"> 首页</van-tabbar-item>
      <van-tabbar-item icon="user-circle-o" to="/member">
        会员
      </van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" badge="0" to="/shopping">
        购物车
      </van-tabbar-item>
      <van-tabbar-item icon="search" to="/search"> 搜索 0</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style lang="less" scoped>
.tabb {
  margin: 50px 0;
}
</style>